//证书
export const gczsColumn=[{
  label: "人员名称",
  prop: "rymc",
  align: "center",
  rules: [{
    required: true,
    message: "请输入人员名称",
    trigger: "blur"
  }]
},
  {
    label: "作业类型",
    align: "center",
    prop: "zylx",
    type: "select",
    dicUrl: "/api/blade-system/dict-biz/dictionary?code=edu_train_archive_zylx",
    props: {
      label: "dictValue",
      value: "dictKey"
    },
    dataType: "number"
  },
  {
    label: "证书编号",
    align: "center",
    prop: "zsbh"
  },
  {
    label: "操作",
    align: "center",
    prop: "cz",
    slot:true
  },
]
//审批人
export const gcspColumn=[{
  label: "审批步骤",
  prop: "sphj",
  align: "center",
  type: "select",
  width:250,
  dataType: "number",
  dicUrl: "/api/blade-system/dict-biz/dictionary?code=sphj",
  props: {
    label: "dictValue",
    value: "dictKey"
  },
},
  {
    label: "审批人",
    prop: "sprNames",
    align: "center",
    slot:true,
  }]
//高处作业
export const gcJobColumn=[{
  label: "作业证编号",
  prop: "zyzbh",
  align: "center",
  readonly:true,
  labelWidth:100,
},
  {
    label: "JSA编号",
    prop: "jsaNo",
    align: "center",
    addDisplay: false,
    editDisplay: false,
    viewDisplay: false,
    hide: true,
  },
   {
     label: "JSA编号",
     prop: "jsaName",
     align: "center",
     hide: true,
     formslot: true
   },
  {
    label: "申请部门",
    prop: "sqbm",
    align: "center",
    type: "tree",
    dicData: [],
    props: {
      label: "title"
    },
    rules: [{
      required: true,
      message: "请输入申请部门",
      trigger: "blur"
    }]
  },
  {
    label: "申请人",
    prop: "sqr",
    align: "center",
    type:"select",
    dicUrl:"/api/riskPoint/riskmanagement/getInternalStaff",
    props: {
      label: "realName",
      value: "id"
    },
    rules: [{
      required: true,
      message: "请输入申请人",
      trigger: "blur"
    }]
  },
  {
    label: "作业内容",
    prop: "zynr",
    hide: true,
    rules: [{
      required: true,
      message: "请输入作业内容",
      trigger: "blur"
    }]
  },
  {
    label: "作业地点",
    prop: "zydd",
    hide: true,
    rules: [{
      required: true,
      message: "请输入作业地点",
      trigger: "blur"
    }]
  },
  {
    label: "作业高度(m)",
    prop: "zygd",
    hide: true,
    rules: [{
      required: true,
      message: "请输入作业高度(m)",
      trigger: "blur"
    }]
  },
  {
    label: "作业类别",
    prop: "zylb",
    hide: true,
    rules: [{
      required: true,
      message: "请输入作业类别",
      trigger: "blur"
    }]
  },
  {
    label: "作业期限(起)",
    prop: "zyqxq",
    align: "center",
    labelWidth:110,
    type: "datetime",
    format: "yyyy-MM-dd HH:mm:ss",
    valueFormat: "yyyy-MM-dd HH:mm:ss",
    rules: [{
      required: true,
      message: "请输入作业期限(起)",
      trigger: "blur"
    }]
  },
  {
    label: "作业期限(止)",
    prop: "zyqxz",
    align: "center",
    labelWidth:110,
    type: "datetime",
    format: "yyyy-MM-dd HH:mm:ss",
    valueFormat: "yyyy-MM-dd HH:mm:ss",
    rules: [{
      required: true,
      message: "请输入作业期限(止)",
      trigger: "blur"
    }]
  },
  {
     label: "作业单位类别",
     prop: "zydwlb",
     type:"select",
     hide: true,
     dataType:'number',
     dicUrl: "/api/blade-system/dict-biz/dictionary?code=xcgl_zydwlb",
     props: {
       label: "dictValue",
       value: "dictKey"
     },
     rules: [{
       required: true,
       message: "请输入作业单位类别",
       trigger: "blur"
     }]
   },
   {
     label: "作业单位名称",
     prop: "zydwmc",
     hide: true,
     labelWidth:125,
     formslot: true,

   },
   {
     label: "作业人员",
     prop: "zyry",
     hide: true,
     rules: [{
       required: true,
       message: "请输入作业人员",
       trigger: "blur"
     }]
   },
  {
    label: "",
    prop: "tsgzzs",
    span: 24,
    hide: true,
    formslot: true,
  },
  {
    label: "",
    prop: "tsgzzsan",
    span: 24,
    align: 'center',
    hide: true,
    formslot: true,
  },
  // {
  //   label: "涉及的其他特殊作业",
  //   prop: "sjdqttszy",
  //   hide: true,
  //   labelWidth:155,
  //   rules: [{
  //     required: true,
  //     message: "请输入涉及的其他特殊作业",
  //     trigger: "blur"
  //   }]
  // },
  // {
  //   label: "涉及的其他特殊作业编号",
  //   prop: "sjdqttsbh",
  //   hide: true,
  //   labelWidth:180,
  //   rules: [{
  //     required: true,
  //     message: "请输入涉及的其他特殊作业编号",
  //     trigger: "blur"
  //   }]
  // },
   {
     label: "危害辨识",
     prop: "whbs",
     hide: true,
     span:24,
     formslot: true,
   },
   {
     label: "危害辨识措施",
     prop: "whbscs",
     type:'textarea',
     span: 24,
     hide: true,
   },
  {
    label: "防护用品",
    prop: "fhyp",
    hide: true,
    span: 24,
    formslot: true,
  },
   {
     label: "",
     prop: "aqcs",
     width: "140px",
     align: "center",
     span:24,
     hide: true,
     formslot: true,
   },

  {
    label: "安全措施完成率(%)",
    prop: "aqcswcl",
    addDisplay: false,
    viewDisplay: false,
    editDisplay: false
  },
  {
    label: "状态",
    prop: "zt",
    addDisplay: false,
    viewDisplay: false,
    editDisplay: false
  },
  {
    label: "安全措施确认人",
    prop: "aqcsqrr",
    hide: true,
    labelWidth:130,
    rules: [{
      required: true,
      message: "请输入安全措施确认人",
      trigger: "blur"
    }]
  },
  {
    label: "验收人",
    prop: "ysr",
    hide: true,
    rules: [{
      required: true,
      message: "请输入验收人",
      trigger: "blur"
    }]
  },
  {
    label: "安全交底人",
    prop: "aqjdr",
    hide: true,
    labelWidth:100,
    rules: [{
      required: true,
      message: "请输入安全交底人",
      trigger: "blur"
    }]
  },
  {
    label: "接收交底人",
    prop: "jsjdr",
    hide: true,
    labelWidth:100,
    rules: [{
      required: true,
      message: "请输入接收交底人",
      trigger: "blur"
    }]
  },
  {
    label: "监护人",
    prop: "jhr",
    hide: true,
    type:"select",
    align: "center",
    dicUrl:"/api/riskPoint/riskmanagement/getInternalStaff",
    props: {
      label: "realName",
      value: "id"
    },
    rules: [{
      required: true,
      message: "请输入监护人",
      trigger: "blur"
    }]
  },
  {
    label: "上传安全交底文件",
    prop: "scaqjdwj",
    hide: true,
    span:24,
    formslot: true,
  },
  {
    label: '',
    align: "center",
    prop: 'map',
    span: 24,
    hide: true,
    formslot: true,
  },
  {
    label: "经度",
    prop: "jd",
    hide: true,
    rules: [{
      required: true,
      message: "请输入经度",
      trigger: "blur"
    }]
  },
  {
    label: "纬度",
    prop: "wd",
    hide: true,
    rules: [{
      required: true,
      message: "请输入纬度",
      trigger: "blur"
    }]
  },
  {
    label: "绑定区域",
    prop: "bdqy",
    hide: true,
    rules: [{
      required: true,
      message: "请输入绑定区域",
      trigger: "blur"
    }]
  },
  // {
  //   label: "电子围栏",
  //   prop: "dzwl",
  //   hide: true,
  //   rules: [{
  //     required: true,
  //     message: "请输入电子围栏",
  //     trigger: "blur"
  //   }]
  // },
  {
    label: "楼层",
    prop: "lc",
    hide: true,
    rules: [{
      required: true,
      message: "请输入楼层",
      trigger: "blur"
    }]
  },
  {
    label: "",
    prop: "spr",
    span:24,
    hide: true,
    formslot: true
  },
]
